package com.yz.xyt.service;

import com.yz.xyt.domain.Post;

import java.util.List;

public interface IPostService {
    int deleteByPrimaryKey(Integer pid);

    int insert(Post record);

    int insertSelective(Post record);

    Post selectByPrimaryKey(Integer pid);

    int updateByPrimaryKeySelective(Post record);

    int updateByPrimaryKey(Post record);

    Post findByPostNumber(String postNumber);

    int updateByPostNumberSelective(Post post);

    int deleteByPostNumber(String postNumber);

    void syncAddPost(List<Post> list);

    void syncUpdatePost(List<Post> list);

    void syncDeletePost(List<Post> list);
}
